<!DOCTYPE html>
<html>
<head>
    <base href="<?php echo base_url(); ?>"/>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta charset="utf-8" />
		<title></title>

		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

		<!-- bootstrap & fontawesome -->
		<link rel="stylesheet" href="ace/assets/css/bootstrap.css" />
		<link rel="stylesheet" href="ace/components/font-awesome/css/font-awesome.css" />

    		<link rel="stylesheet" href="ace/components/_mod/jquery-ui/jquery-ui.css"/>
    		
		<link rel="stylesheet" href="ace/components/chosen/chosen.min.css" />

    
		<!-- page specific plugin styles -->
    		<link rel="stylesheet" href="ace/components/_mod/jquery-ui.custom/jquery-ui.custom.css"/>
    
		<!-- text fonts -->
		<link rel="stylesheet" href="ace/assets/css/ace-fonts.css" />

		<!-- ace styles -->
		<link rel="stylesheet" href="ace/assets/css/ace.css" class="ace-main-stylesheet" id="main-ace-style" />

		<!--[if lte IE 9]>
			<link rel="stylesheet" href="ace/assets/css/ace-part2.css" class="ace-main-stylesheet" />
		<![endif]-->
		<link rel="stylesheet" href="ace/assets/css/ace-skins.css" />
		<link rel="stylesheet" href="ace/assets/css/ace-rtl.css" />
		
		
		
		
	    <link rel="stylesheet" href="js/plugin/ladda/css/ladda-themeless.min.css" />
	    <link rel="stylesheet" href="css/admin/adminapp.css" />


		<!--[if lte IE 9]>
		  <link rel="stylesheet" href="ace/assets/css/ace-ie.css" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->
		<script src="ace/assets/js/ace-extra.js"></script>

		<!-- HTML5shiv and Respond.js for IE8 to support HTML5 elements and media queries -->

		<!--[if lte IE 8]>
		<script src="ace/components/html5shiv/dist/html5shiv.min.js"></script>
		<script src="ace/components/respond/dest/respond.min.js"></script>
		<![endif]-->
		
		
		
		
		
		
		
		<!-- basic scripts -->

		<!--[if !IE]> -->
		<script src="ace/components/jquery/dist/jquery.js"></script>



		<script type="text/javascript" charset="utf-8" src="js/plugin/jqueryform/jquery-form.js"></script>


		<!-- <![endif]-->

		<!--[if IE]>
<script src="ace/components/jquery.1x/dist/jquery.js"></script>
<![endif]-->
		<script type="text/javascript">
			if('ontouchstart' in document.documentElement) document.write("<script src='ace/components/_mod/jquery.mobile.custom/jquery.mobile.custom.js'>"+"<"+"/script>");
		</script>
		<script src="ace/components/bootstrap/dist/js/bootstrap.js"></script>

		<script src="ace/components/jquery-ui/jquery-ui.min.js"></script>
		
		<!-- page specific plugin scripts -->

		<!--[if lte IE 8]>
		  <script src="ace/components/ExplorerCanvas/excanvas.js"></script>
		<![endif]-->
		<script src="ace/components/_mod/jquery-ui.custom/jquery-ui.custom.js"></script>
		<script src="ace/components/jqueryui-touch-punch/jquery.ui.touch-punch.js"></script>
		<script src="ace/components/_mod/easypiechart/jquery.easypiechart.js"></script>
		<script src="ace/components/jquery.sparkline/index.js"></script>
		<script src="ace/components/Flot/jquery.flot.js"></script>
		<script src="ace/components/Flot/jquery.flot.pie.js"></script>
		<script src="ace/components/Flot/jquery.flot.resize.js"></script>
		<script src="ace/components/bootbox.js/bootbox.js"></script>

		
    <script type="text/javascript">
  	//判断是否在iframe中
	if(self!=top){
		parent.window.location.replace(window.location.href);
	}
    </script>

		
</head>

    
    
<body class="login-layout" style="background-color: #468DB9;">

<div class="main-container">
    <div class="main-content">
        <div class="row">
            <div class="col-sm-10 col-sm-offset-1">
                <div class="center" style="margin-top: 100px;">
                	<!-- <img src="img/joyfitlogo.png" style="height: 70px;"/>-->
                 <h1 style="color: white;">  
                 <?php 
                 echo config_item("website_name");
                 ?>
                 </h1>
                    <!--                    <img src="/static/img/logo2.png" width="200px"/>-->
                </div>
                <div class="login-container">
                    <div class="space-6"></div>
                    <div class="position-relative">
                        <div id="login-box" class="login-box visible widget-box no-border" style="padding: 0px;">
                            <div class="widget-body">
                                <div class="widget-main">
                                    <h4 class="header lighter red bigger">
                                        <i class="icon-coffee green"></i>
                                        用户登陆
                                    </h4>

                                    <div class="space-6"></div>

                                    <form action="" id="loginform" method="post">

                                        <fieldset>
                                            <label class="block clearfix">
	                                                    <span class="block input-icon input-icon-right">
	                                                        <input id="userNamebg" name="username" type="text" class="form-control" autocomplete="off"
	                                                        	value="<?php echo Nu($admin_name);?>" placeholder="账号" />
	                                                        <i class="icon-user"></i>
	                                                    </span>
                                            </label>
                                            <label class="block clearfix">
	                                                    <span class="block input-icon input-icon-right">
	                                                        <input id="userPassbg" name="userpass" type="password" class="form-control" placeholder="密码" autocomplete="off" />
	                                                        <i class="icon-lock"></i>
	                                                    </span>
                                            </label>
                                            <!--<div class="row">
                                            		<div class="col-xs-7">
                                            		<input  name="checkcode" class="form-control" onfocus="$('#inforId').html('')" placeholder="验证码" />
                                            		</div>
                                            		<div class="col-xs-5 text-right">
	                                             	<?php echo $out_datas["v_img"];?>
	                                             </div>
	                                            	
                                            </div>-->

                                            <div id="inforId" style="color: red;"><?php echo $error;?></div>
                                            <div class="space"></div>
                                            <div class="clearfix">
                                                <a id="btnLogin" href="javascript:void(null)" class="width-35 pull-right btn btn-sm btn-danger ladda-button" data-style="zoom-in">
                                                    <input type="hidden" name="login_submit" value="1">
                                                    <span class="ladda-label">登陆</span>
                                                </a>
                                                
                                            </div>
                                            <div class="space-4"></div>
                                        </fieldset>
                                    </form>
                                </div>
                                <!-- /widget-main -->
                            </div>
                            <!-- /widget-body -->
                        </div>
                        <!-- /login-box -->
                    </div>
                    <!-- /position-relative -->
                </div>
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
    </div>
</div>
<div style="position: absolute;right: 10px;bottom: 10px;font-size: 15px;color: #FFFFFF;">
	Ver 1.03
</div>
<script>
    $(function(){
        $("#btnLogin").click(function(){
            $("#loginform").submit();
        });
    });
</script>
</body>
</html>